Ext.define('DragonApp.view.basic.Data', {
    extend: 'Ext.form.Panel',
    alias: ['widget.basicform'],

    requires: [
        'DragonApp.view.pub.combobox.Channel'
    ],

    bodyPadding: 5,
    border: false,

    fieldDefaults: {
        labelWidth: 60,
        labelAlign: 'right'
    },
    items: [{
            xtype: 'fieldcontainer',
            layout: 'hbox',
            items: [
                { xtype: "textfield", name: "nickname", fieldLabel: "玩家名", editable: false, flex: 1 },
                { xtype: "textfield", name: "id", fieldLabel: "玩家ID", editable: false, flex: 1 },
                { xtype: "textfield", name: "name", fieldLabel: "服务器", editable: false, flex: 1 },
                { xtype: "channelcombobox", name: "chanel", fieldLabel: "渠道", editable: false, flex: 1 }
            ]
        },
        {
            xtype: "fieldcontainer",
            layout: "hbox",
            items: [
                { xtype: "textfield", name: "level", fieldLabel: "等级", editable: false, flex: 1 },
                { xtype: "textfield", name: "exp", fieldLabel: "经验", editable: false, flex: 1 },
                { xtype: "textfield", name: "heroId", fieldLabel: "领地", editable: false, flex: 1 },
                { xtype: "textfield", name: "goal_point", fieldLabel: "成就点数", editable: false, flex: 1 }
            ]
        },
        {
            xtype: "fieldcontainer",
            layout: "hbox",
            items: [
                { xtype: "textfield", name: "sky_level", fieldLabel: "天梯段位", editable: false, flex: 1 },
                { xtype: "textfield", name: "sky_star", fieldLabel: "天梯星级", editable: false, flex: 1 },
                { xtype: "textfield", name: "sky_score", fieldLabel: "天梯威望", editable: false, flex: 1 },
                { xtype: "textfield", name: "sky_image", fieldLabel: "天梯印记", editable: false, flex: 1 }
            ]
        },
        {
            xtype: "fieldcontainer",
            layout: "hbox",
            items: [
                { xtype: "textfield", name: "money", fieldLabel: "钻石", editable: false, flex: 1 },
                { xtype: "textfield", name: "coin", fieldLabel: "金币", editable: false, flex: 1 },
                { xtype: "textfield", name: "energy", fieldLabel: "行动值", editable: false, flex: 1 },
                { xtype: "textfield", name: "charge", fieldLabel: "累计充值", editable: false, flex: 1 }
            ]
        },
        {
            xtype: "fieldcontainer",
            layout: "hbox",
            items: [
                { xtype: "textfield", name: "createtime", fieldLabel: "注册时间", editable: false, width: 238 },
                { xtype: "textfield", name: "lastonlogintime", fieldLabel: "最后登录", editable: false, width: 238 }
            ]
        }
    ]
});